<!--
  描述：触发事件table页
  @author xujie
  @since 2021-03-17 13:55:07
  @modifier zhangyao 2021/04/24 修改表格
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<!--表格id与lay-filter属性一致，统一定义为zmn-table-->
<table class="layui-hide" id="zmn-table" lay-filter="zmn-table" th:fragment="table">
    <thead>
    <tr>
        <!--规定复选框列置于第1列，居中显示-->
        <th lay-data="{field:'deptName', unresize:true, align:'center'}">部门</th>
        <th lay-data="{field:'objMasterName', unresize:true, align:'center'}">责任人</th>
        <th lay-data="{field:'eventName', unresize:true, align:'center'}">事件</th>
        <th lay-data="{field:'monitorCycleTime', unresize:true, align:'center'}">监控周期</th>
        <th lay-data="{field:'level', unresize:true, align:'center'}">预警等级</th>
        <th lay-data="{field:'executionDesc', unresize:true, align:'center'}">完成情况</th>
        <th lay-data="{field:'createTime', unresize:true, align:'center'}">日期</th>

    </tr>
    </thead>
    <tbody>
    <tr th:each="item:${items}">
        <td th:text="${item.data.deptName}"></td>
        <td th:text="${item.data.objMasterName}"></td>
        <td th:text="${item.eventName}"></td>
        <td th:text="${item.monitorCycleTime}"></td>
        <td th:text="${T(com.zmn.brs.common.enums.WronLevelEnum).getLevelName(item.level)}"></td>
        <td th:text="${item.executionDesc}"></td>
        <td th:text="${T(com.zmn.common.utils.date.DateUtil).toString(item.createTime)}"></td>
    </tr>
    </tbody>
</table>
